<?php
session_start();
$_SESSION['sosanh']['id'] = $_POST['productID'];
$_SESSION['sosanh']['cid'] = $_POST['productCID']; //compare product id
header("Location:compare.php");
//var_dump($_SESSION['sosanh']);
//$k = implode($_SESSION['sosanh'],',');
//echo $k;
exit();
?>